<?
$auth = Zend_Auth::getInstance();
?>
<? if ($auth->hasIdentity()): ?>
<div id="login"><a href="/index/logout">Logout</a> </div>
<? else: ?>
<div id="login"><a href="#" id="loginus">Log In</a> <br> <a id="joinus" href="#">Join for free</a></div>
<? endif; ?>
<img src="/pictures/Pirate Skull.jpg" width="22%">

<div id="right-img">
    <?= $this->regForm ?>
    <?= $this->loginForm ?>
</div>